package com.easyadmin.entity.po;

import java.io.Serializable;
import java.util.List;


/**
 * 字典
 */
@SuppressWarnings("serial")
public class SysDict implements Serializable {


    /**
     * id
     */
    private Integer id;

    /**
     * 字典描述
     */
    private String propName;

    /**
     * 字典编号
     */
    private String propValue;

    /**
     * 父级ID
     */
    private Integer pid;

    /**
     * 排序号
     */
    private Integer sort;


    private List<SysDict> subData;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return this.id;
    }

    public void setPropName(String propName) {
        this.propName = propName;
    }

    public String getPropName() {
        return this.propName;
    }

    public void setPropValue(String propValue) {
        this.propValue = propValue;
    }

    public String getPropValue() {
        return this.propValue;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getPid() {
        return this.pid;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return this.sort;
    }

    public List<SysDict> getSubData() {
        return subData;
    }

    public void setSubData(List<SysDict> subData) {
        this.subData = subData;
    }

    @Override
    public String toString() {
        return "id:" + (id == null ? "空" : id) + "，字典描述:" + (propName == null ? "空" : propName) + "，字典编号:" + (propValue == null ? "空" : propValue) + "，父级ID:" + (pid == null ? "空" : pid) + "，排序号:" + (sort == null ? "空" : sort);
    }
}
